package com.lijian.shiro.realm;

import org.apache.shiro.crypto.hash.Md5Hash;

/**
 * @Author: LiJian
 * @CreateTime: 2024-12-26
 * Description:
 */

public class ShiroMD5 {
    public static void main(String[] args) {
        String pwd = "z3";
        Md5Hash md5Hash = new Md5Hash(pwd, "salt",3);
        System.out.println("md5带盐值三次加密:"+md5Hash.toHex());

    }
}
